Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript compare types

function isString(value) {
    return typeof value === 'string' || value instanceof String;
}
 
PREVIOUS NEXT
Tagged: #typescript #compare #types
ADD COMMENT
Topic
Name
8+4 =