createMojiResolver
function createMojiResolver(options?): MojiResolver;Defined in: resolver.ts:138
Build a resolver from options. Resolution order for a slug:
- the custom
resolverfunction (if it returns a renderable def), - the
mojismap, - the built-in defaults (unless
includeDefaults: false). Slugs are matched case-insensitively. A definition is only returned if it actually carries acharorsrc(otherwise it is treated as unknown).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options | CreateResolverOptions |