Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript check if string is base64 or not path to src

//Check if the string start with 'data:' and it should be a base64 string 
string.startsWith("data:"))
 
PREVIOUS NEXT
Tagged: #typescript #check #string #path #src
ADD COMMENT
Topic
Name
2+2 =