Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lovell/sharp
/ isResizeExpected
Function
isResizeExpected
lib/resize.mjs:116–118 ·
view source on GitHub ↗
* @private
(options)
Source
from the content-addressed store, hash-verified
114
* @private
115
*/
116
function
isResizeExpected (options) {
117
return
options.width !== -1 || options.height !== -1;
118
}
119
120
/**
121
* Resize image to `width`, `height` or `width x height`.
Callers
2
resize
Function · 0.85
extract
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…