MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / transformBoolStr

Function transformBoolStr

packages/plugin-datasource/src/utils.ts:44–46  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

42}
43
44export const transformBoolStr = (str: string) => {
45 return str !== 'false'
46}
47
48export const getRuntimeJsValue = (value: JSExpression | JSFunction, context: IDataSourceRuntimeContext) => {
49 if (!['JSExpression', 'JSFunction'].includes(value.type)) {

Callers 1

getRuntimeBaseValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected