Tests if a string is an EString. Can also be used as a type guard.
The string to test.
True if the string is an EString.
const property = 'E123'; if (!isEString(property)) { throw new Error('Not an EString'); } EntitySchemaSnak.fromID('P698', property); Copy
const property = 'E123'; if (!isEString(property)) { throw new Error('Not an EString'); } EntitySchemaSnak.fromID('P698', property);
Tests if a string is an EString. Can also be used as a type guard.