UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

32 lines 916 B
import { GetListFromJSON, GetListToJSON } from './GetList.js'; export function instanceOfGetFolderLists(value) { let isInstance = true; isInstance = isInstance && 'lists' in value; isInstance = isInstance && 'count' in value; return isInstance; } export function GetFolderListsFromJSON(json) { return GetFolderListsFromJSONTyped(json, false); } export function GetFolderListsFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { lists: json['lists'].map(GetListFromJSON), count: json['count'], }; } export function GetFolderListsToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { lists: value.lists.map(GetListToJSON), count: value.count, }; } //# sourceMappingURL=GetFolderLists.js.map