MCPcopy
hub / github.com/ThatGuySam/doesitarm / pushContentPart

Function pushContentPart

helpers/pagefind/index.js:23–27  ·  view source on GitHub ↗
( parts, value )

Source from the content-addressed store, hash-verified

21}
22
23function pushContentPart ( parts, value ) {
24 if ( !isNonEmptyString( value ) ) return
25
26 parts.push( value.trim() )
27}
28
29function pushListContentPart ( parts, values ) {
30 if ( !isNonEmptyArray( values ) ) return

Callers 2

pushListContentPartFunction · 0.85
makePagefindContentFunction · 0.85

Calls 1

isNonEmptyStringFunction · 0.90

Tested by

no test coverage detected