##// END OF EJS Templates
initial commit
initial commit

File last commit:

r0:9cf129973079 default
r0:9cf129973079 default
Show More
traits.ts
5 lines | 246 B | video/mp2t | TypeScriptLexer
cin
initial commit
r0 import { primitive } from "./interfaces";
export function isPrimitive(val: any): val is primitive {
return (val === null || val === undefined || typeof (val) === "string" ||
typeof (val) === "number" || typeof (val) === "boolean");
}